/*
 * MouseListener.cpp
 *
 *  Created on: 06-12-2010
 *      Author: Przemek
 */
#include "gui/MouseListener.hpp"

MouseListener::EventArguments::EventArguments(const Vector& point, Button button,
		const Control* source) :
	Event(source), point(point), button(button)
{

}

MouseListener::EventArguments::EventArguments(const EventArguments& other) :
	Event(other), point(other.point), button(other.button)
{

}

MouseListener::EventArguments& MouseListener::EventArguments::operator=(const EventArguments& other)
{
	if(this != &other)
	{
		Event::operator=(other);
		point = other.point;
		button = other.button;
	}
	return *this;
}

const Vector& MouseListener::EventArguments::getPoint() const
{
	return point;
}

void MouseListener::EventArguments::setPoint(const Vector& point)
{
	this->point = point;
}

MouseListener::EventArguments::Button MouseListener::EventArguments::getButton() const
{
	return button;
}

void MouseListener::EventArguments::setButton(Button button)
{
	this->button = button;
}

void MouseListener::mousePressed(const EventArguments&)
{

}

void MouseListener::mouseEntered()
{

}

void MouseListener::mouseExited()
{

}

void MouseListener::mouseMoved(const EventArguments&)
{

}

void MouseListener::mouseDragged(const EventArguments&)
{

}

void MouseListener::mouseReleased(const EventArguments&)
{

}
